package com.zjb.demo.system.domain;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

/**
 * @author 庄佳彬
 * @since 2023/12/30 23:35
 */
@Table(value = "sys_user_post")
public class SysUserPost {
    @Id(keyType = KeyType.None)
    @Column(value = "user_id")
    private Long userId;
    @Id(keyType = KeyType.None)
    @Column(value = "user_id")
    private Long postId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getPostId() {
        return postId;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }
}
